
package test.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;
/**
* @author guoliang.liu
* @CreateDate Jun 28, 2007
*
*/
public class Mytest {
       public static void main(String argv[]){
    	   Mytest test = new Mytest();
    	   
    	   test.testQuickStart();
       }
       
       public void testQuickStart(){
           ApplicationContext ctx = new FileSystemXmlApplicationContext("bean.xml");
           Action action = (Action)ctx.getBean("TheAction");
           System.out.println(action.execute("Rod Johnson"));
       }
}